/**
 * Created by kaki on 2017/4/20.
 */
const NOT_LOGGED = 'NOT_LOGGED'
const IS_LOGGED = 'IS_LOGGED'

const mutations = {
  [ IS_LOGGED ] (state, value) {
    state.logged = value.logged
  },
  [ NOT_LOGGED ] (state, value) {
    state.logged = value.logged
  }
}

export default mutations
